package top.longmarch.flow.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 组件信息
 * </p>
 *
 * @author YuYue
 * @since 2024-04-19
 */
@Getter
@Setter
@TableName("liteflow_template_cmp")
@ApiModel(value = "LiteflowTemplateCmp对象", description = "组件信息")
public class LiteflowTemplateCmp implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.NONE)
    private Long id;

    @ApiModelProperty("组件ID")
    @TableField("component_id")
    private String componentId;

    @ApiModelProperty("组件名称")
    @TableField("component_name")
    private String componentName;

    @ApiModelProperty("类名称")
    @TableField("class_name")
    private String className;

    @TableField("class_quotation")
    private String classQuotation;

    @TableField("super_class_qualified_name")
    private String superClassQualifiedName;

    @TableField("lf_class_qualified_name")
    private String lfClassQualifiedName;

    @TableField("class_comment")
    private String classComment;

    @TableField("component_annotation_name")
    private String componentAnnotationName;

    @TableField("content")
    private String content;

    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    @TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;
}
